package com.wfl.sampling.dao;

import com.wfl.sampling.entity.WxchatOrderInformation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WxchatOrderDao {
    void updateOrder(String state,String out_trade_no);

    void deleteByOut_trade_no(String out_trade_no);

    void insertOrder(WxchatOrderInformation wxchatOrderInformation);
    List<WxchatOrderInformation> findOrdersByOpenid(String openid,String trade_state);
    WxchatOrderInformation findOrderById(String id);

}
